import {
	createApp
} from 'vue'
import router from './router'
import App from './app.vue'

import './styles.css'
// 集成 tailwind 后生成的css
// import './output.css'

import VuePerformancePlugin from './plugins/performance'

createApp(App)
	.use(VuePerformancePlugin, {
		log: process.env.NODE_ENV !== 'production',
		trackComponents: true,
		sampleRate: 0.2,
		endpoint: 'https://your-api.com/performance',
		longTaskThreshold: 300
	})
	.use(router)
	.mount('#app')